package com.iraeta.dao.iraorder;

import com.iraeta.entity.Iraorderproduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IraorderproductDao {
    int insert(Iraorderproduct record);
    int updateByPrimaryKey(Iraorderproduct record);
    int deleteByPrimaryKey(Integer id);
    Iraorderproduct selectByPrimaryKey(Integer id);
    List<Iraorderproduct> selectByOrderId(@Param("orderId") Integer orderId);
}